package util;

public class CommonConstant {
    //public static String baseUrl = "http://219.244.118.184:8080/kitkat";
	public static String baseUrl = "http://114.215.85.105:80/kitkatback";
	//public static String baseUrl = "http://kdd.xidian.edu.cn:8087/kitkat";
	//public static String baseUrl = "http://127.0.0.1:80/kitkatback";
	
	/**
	 * rest请求发送成功编码
	 */
	public static String STATUS_SUCCESS = "200";
	
	
	/**
	 * rest请求发送出错编码
	 */
	public static String STATUS_ERROR = "500";
	
	
	/**
	 * rest请求无权限编码
	 */
	public static String STATUS_NOAUTH = "401";
	
	
	/**
	 * httpclient请求出错编码
	 */
	public static String HTTPCLIENT_ERROR = "500";
	
	
	/**
	 * httpclient请求超时
	 */
	public static String HTTPCLIENT_TIMEOUT = "408";
	
	
	/**
	 * 服务器拒绝访问
	 */
	public static String SERVER_REFUSE = "Connection refused: connect";
	
	
	/**
	 * 服务器连接超时
	 */
	public static String SERVER_TIMEOUT = "The host did not accept the connection within timeout of 10000 ms";
}
